package com.carlo.bean;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * 
* @ClassName: MailInfo 
* @Description: 邮件内容封装类
* @author carlo
* @date 2018年2月24日 下午5:37:45
 */
public class MailInfo {
	
	private String subject         = "";					//邮件标题
	private String body            = "";					//邮件内容
	private String attachmentType  = "";					//附件类型
	private List<File> attachments = new ArrayList<File>();	//附件

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}


	public String getAttachmentType() {
		return attachmentType;
	}

	public void setAttachmentType(String attachmentType) {
		this.attachmentType = attachmentType;
	}

	public List<File> getAttachments() {
		return attachments;
	}

	public void setAttachments(List<File> attachments) {
		this.attachments = attachments;
	}

	@Override
	public String toString() {
		return "MailInfo [subject=" + subject + ", body=" + body
				+ ", attachments=" + attachments + "]";
	}

	
	
}
